Skip to content

feature/1.4.0 — Deploy, Reload, Historique SQLite, Swagger dark mode#39

Merged
lenoirpatrick merged 7 commits into
mainfrom
feature/1.4.0
May 19, 2026
Merged

feature/1.4.0 — Deploy, Reload, Historique SQLite, Swagger dark mode#39
lenoirpatrick merged 7 commits into
mainfrom
feature/1.4.0

Conversation

@lenoirpatrick

Copy link
Copy Markdown
Owner

Résumé

Plan de test

  • pytest — 36 tests, tous verts
  • Démarrer le serveur, vérifier que data/deployments.db est créé et que startup apparaît dans /history
  • Cliquer Deploy sur un dépôt configuré → vérifier l'entrée dans /history avec status=ok
  • Cliquer Deploy sur un dépôt dont le répertoire n'existe pas → vérifier status=error dans /history
  • Cliquer ↺ Recharger → vérifier que la page attend le redémarrage puis redirige
  • Ouvrir /docs → vérifier le thème dark (titres, schémas, boutons Collapse all)
  • Ouvrir /history → tester les filtres repo/statut et la pagination

🤖 Generated with Claude Code

lenoirpatrick and others added 7 commits May 19, 2026 20:31
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- #29: badge version 1.4.0 dans README et sonar-project.properties
- #30: POST /deploy/{owner}/{repo} + bouton Deploy par dépôt
- #31: POST /reload (os.execv) + bouton Recharger + polling /beats côté client

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…_status

- #32: SQLite data/deployments.db, table deployment_log, _init_db(), log_action()
- #33: log_action() appelé sur startup, webhook, git_reset, git_pull, deploy, reload
- #34: GET /api/history (paginé, filtrable repo/status) + GET /history page HTML
- #35: GET /config/repos enrichi avec last_status et last_timestamp par dépôt
- Tests: patch DB_PATH dans fixture + 13 nouveaux tests (36 total)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@lenoirpatrick lenoirpatrick merged commit ebc9677 into main May 19, 2026
4 of 8 checks passed
@lenoirpatrick lenoirpatrick deleted the feature/1.4.0 branch May 19, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant